import com.mysql.jdbc.jdbc2.optional.MysqlDataSource;

import javax.sql.DataSource;

public class JDBC_Text2 {
    public static void main(String[] args) {
        DataSource dataSource = new MysqlDataSource();
        ((MysqlDataSource)dataSource).setUrl("JDBC://127.0.0.1:3306/IdeaProjects?characterEncoding=utf8&useSSL=false");
        
    }
}
